﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Infrastructure.kflwyg
{
    public class AddProjectWorkerParam
    {
        public string project_code { get; set; }
        public string corp_code { get; set; }
        public string corp_name { get; set; }
        public string team_name { get; set; }

        /// <summary>
        /// 工人姓名
        /// </summary>
        public string worker_name { get; set; }

        /// <summary>
        /// 是否是领导 0 和 1
        /// </summary>
        public int is_team_leader { get; set; }

        /// <summary>
        /// 1 证件类型
        /// </summary>
        public int idcard_type { get; set; }

        /// <summary>
        /// 证件号
        /// </summary>
        public string idcard_number { get; set; }

        /// <summary>
        /// 工作类型
        /// </summary>
        public string work_type { get; set; }

        /// <summary>
        /// 角色
        /// </summary>
        public string worker_role { get; set; }

        /// <summary>
        /// 入场时间
        /// </summary>
        public string entry_time { get; set; }

        /// <summary>
        /// 出场时间
        /// </summary>
        public string exit_time { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string issue_card_date { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string issue_card_pic { get; set; }

        /// <summary>
        /// 证件号
        /// </summary>
        public string card_number { get; set; }

        /// <summary>
        /// 银行卡号
        /// </summary>
        public string pay_roll_bank_card_number { get; set; }

        /// <summary>
        /// 银行名称
        /// </summary>
        public string pay_roll_bank_name { get; set; }

        /// <summary>
        /// 上级支行
        /// </summary>
        public string pay_roll_top_bank_name { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string bank_link_number { get; set; }
        public string pay_roll_top_bank_code { get; set; }
        public int has_contract { get; set; }
        public string has_buy_insurance { get; set; }

        /// <summary>
        /// 性别    
        /// //0    男
        /// //1    女
        /// </summary>
        public int gender { get; set; }

        /// <summary>
        /// 民族
        /// </summary>
        public string nation { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public string address { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string head_image { get; set; }

        /// <summary>
        /// 政治面貌
        /// </summary>
        public string politics_type { get; set; }

        /// <summary>
        /// 加入时间
        /// </summary>
        public string joined_time { get; set; }

        /// <summary>
        /// 电话号码
        /// </summary>
        public string cell_phone { get; set; }

        /// <summary>
        /// 教育程度
        /// </summary>
        public string culture_level_type { get; set; }

        /// <summary>
        /// 爱好
        /// </summary>
        public string specialty { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string has_bad_medical_history { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string urgent_link_man { get; set; }
        public string urgent_link_man_phone { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string work_date { get; set; }

        /// <summary>
        /// 婚姻状况
        ///01    未婚
        ///02    已婚
        ///03    离异
        ///04    丧偶
        /// </summary>
        public string marital_status { get; set; }

        /// <summary>
        /// 证件机构
        /// </summary>
        public string grant_org { get; set; }


        public string positive_idcard_image { get; set; }
        public string negative_idcard_image { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public string start_date { get; set; }

        /// <summary>
        /// 过期时间
        /// </summary>
        public string expiry_date { get; set; }

        /// <summary>
        /// 岗位类型
        /// </summary>
        public string job_type { get; set; }

        //"project_code": "475000200621004460",
        //"corp_code": "91130826MA07RT7E9A",
        //"corp_name": "东创置业有限公司",
        //"team_name": "园林班组",
        //"worker_name": "郑小乐",
        //"is_team_leader": 0,
        //"idcard_type": "1",
        //"idcard_number": "410203197403075639",
        //"work_type": "190",
        //"worker_role": 20,
        //"entry_time": "2019-12-01",
        //"exit_time": "2020-05-09",
        //"issue_card_date": "2019-12-01",
        //"issue_card_pic": "",
        //"card_number": "2341",
        //"pay_roll_bank_card_number": "4113242341341",
        //"pay_roll_bank_name": "中国工商银行开封支行",
        //"pay_roll_top_bank_name": "中国工商银行",
        //"bank_link_number": "300211",
        //"pay_roll_top_bank_code": "1122",
        //"has_contract": 1,
        //"has_buy_insurance": 1,
        //"gender": 0,
        //"nation": "汉",
        //"address": "河南省新野县王庄镇新水路12号",
        //"head_image": "",
        //"politics_type": "13",
        //"joined_time": null,
        //"cell_phone": "13422228888",
        //"culture_level_type": "03",
        //"specialty": "弹吉他",
        //"has_bad_medical_history": null,
        //"urgent_link_man": null,
        //"urgent_link_man_phone": null,
        //"work_date": "2008-10-08",
        //"marital_status": "01",
        //"grant_org": "河南省南阳派金水路派出所",
        //"positive_idcard_image": null,
        //"negative_idcard_image": null,
        //"start_date": "2018-09-01",
        //"expiry_date": "2028-09-01",
        //"job_type": "7"
    }
}
